package com.oa.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * oa审批表的pojo类
 *
 * @Author: 一拳超人
 * @Date: 2021/10/2 11:04
 */
@TableName("oa_approval")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class OaApproval implements Serializable {
    private static final long serialVersionUID = 7733002072124854609L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String itemName;
    private Integer submitterId;
    @TableField(exist = false)
    private String submitter;
    private Integer approverId;
    @TableField(exist = false)
    private String approver;
    private Integer itemStatus;
    private String comments;
    private String itemCause;
    private Date submitTime;
    private Date editTime;
    private Integer sortingId;
    private Date startTime;
    private Date endTime;
    @TableField(exist = false)
    private Boolean subStatus;


}
